package com.audaque.springboot.foshanupload.web.mbgen.gen.api;

import com.audaque.springboot.foshanupload.web.mbgen.gen.model.req.RunGenReq;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author zgb
 * @desc ...
 * @date 2023-01-26 20:54:18
 */

@RequestMapping("gen/run")
//@FeignClient((contextId = "com.audaque.springboot.foshanupload.web.mbdemo.mpgt.api.SysUserMpgtApi", name = "foshanupload-mbdemo-mpgt",url="",contextId = "sysUserMpgtApi")
@Tag(name = "foshanupload/mbgen/gen/runGenApi", description = "代码生成器 运行模块")
public interface RunGenApi {


    @Operation(summary = "生成")
    @RequestMapping(value = "/generate.do", method = {RequestMethod.POST})
    @ResponseBody
    public Boolean generate(@RequestBody RunGenReq runGenReq) throws Exception;
}
